package com.pignest.hotel.beans;

import java.util.Date;

import com.pignest.hotel.beans.global.BaseBean;

/** 
 * 入住明细信息(历史记录)
 * 入住, 续住, 换房, 联房, 退房, 结算(部分), 结账
 * 
 * (不变动的项为null或0)
 *  */
public class LivingSpecifics extends BaseBean {
	private static final long serialVersionUID = 3431738212129494399L;
	
	private Living living;
	/** 操作时间 */
	private Date operateDate;
	/** 操作类型 */
	private String operateType;
	/** 新房间号(换房) */
	private String room;
	/** 新房价 */
	private int roomPrice;
	/** 预付(金钱变动) */
	private int pay;
	/** 支付方式 */
	private String paymentMethod;
	/** 卡授权结束时间 */
	private Date grantDate;
	/** 预计离店时间 */
	private Date leaveDate;
	/** 备注**/
	private String remark;
	
	/***操作人*/
	private String opUser;
	public Living getLiving() {
		return living;
	}
	public void setLiving(Living living) {
		this.living = living;
	}
	public Date getOperateDate() {
		return operateDate;
	}
	public void setOperateDate(Date operateDate) {
		this.operateDate = operateDate;
	}
	public String getOperateType() {
		return operateType;
	}
	public void setOperateType(String operateType) {
		this.operateType = operateType;
	}
	public String getRoom() {
		return room;
	}
	public void setRoom(String room) {
		this.room = room;
	}
	public int getRoomPrice() {
		return roomPrice;
	}
	public void setRoomPrice(int roomPrice) {
		this.roomPrice = roomPrice;
	}
	public int getPay() {
		return pay;
	}
	public void setPay(int pay) {
		this.pay = pay;
	}
	public Date getGrantDate() {
		return grantDate;
	}
	public void setGrantDate(Date grantDate) {
		this.grantDate = grantDate;
	}
	public Date getLeaveDate() {
		return leaveDate;
	}
	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}
	public String getPaymentMethod() {
		return paymentMethod;
	}
	
	public void setPaymentMethod(String payMethod) {
		this.paymentMethod = payMethod;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getOpUser() {
		return opUser;
	}
	public void setOpUser(String opUser) {
		this.opUser = opUser;
	}
	@Override
	public String toSimpleString() {
		return concat(living.getCustormName(), room, operateType);
	}
}
